<template>
  <!-- <el-tooltip
    class="item"
    effect="dark"
    :content="title"
    placement="top"
  > -->
  <!--
    $listeners会收集当前组件的所有自定义事件
      $attrs会收集当前组件没有通过props接收的标签属性
   -->
    <!-- <el-button v-bind="$attrs" v-on="$listeners"></el-button> -->
  <!-- </el-tooltip> -->

  <a href="#" :title="title">
    <el-button v-bind="$attrs" v-on="$listeners"></el-button>
  </a>
</template>

<script>
export default {
  name: "HintButton",
  props:['title']
};
</script>

<style>
</style>
